<?php 

$files = glob('./Upload/*');

var_dump($files);





 ?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<form action="./uploads.php" method="post" enctype="multipart/form-data">
		<input type="hidden" name="MAX_FILE_SIZE" value="30000000000">
		<input type="file" name="abc">
		<input type="file" name="xbs">
		<input type="submit" value="上传">
	</form>
	<table>
		<tr>
			<td>文件名</td>
			<td>大小</td>
			<td>时间</td>
			<td>操作</td>
		</tr>
		<?php foreach ($files as  $file): ?>

			<tr>
				<td><?php echo basename($file); ?></td>
				<td><?php echo filesize($file); ?></td>
				<td><?php echo filectime($file); ?></td>
				<td><a href="./ddd.php?url=<?php echo $file; ?>">下载</a><a href="./del.php?url=<?php echo $file; ?>">删除</a></td>
			</tr>
			
		<?php endforeach ?>
	</table>
</body>
</html>